<?php 
$request = system_controller_front::getInstance()->getRequest();
$hidden = '';
if($request->getControllerName() == 'index' && $request->getActionName() != 'login') {
	$hidden = ' style="display:none;"';
}
?><div class="body footer"<?php echo $hidden;?>>
	<hr/><h1></h1>
	<div>
		© <?php echo date('Y', time());?>, <a href="http://www.cmsdream.com/" target="_blank" style="color:#000;"><span class="red">cms</span>dream.com</a>, Inc. or its affiliates<br/>
		» All Rights Reserved!
	</div>
</div>
<script type="text/javascript" src="<?php echo $this->baseUrl(_STATIC_HTTP . '/jquery/jquery-1.7.min.js');?>"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl(_STATIC_HTTP . '/jquery/checkbox.js');?>"></script>
<?php echo $this->headScript() . "\n";?>
<script type="text/javascript">
$(document).ready(function() {
	if(window.name=='mainFrame') {$('.header').hide();}
	$('input:checkbox').checkbox({empty: '<?php echo $this->baseUrl(_STATIC_HTTP . '/admin/css/assets/empty.png');?>'});
	$('input:radio').checkbox({empty: '<?php echo $this->baseUrl(_STATIC_HTTP . '/admin/css/assets/empty.png');?>'});
});
</script>
